html,
body {
    height: 100%;
}

body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.card {
    width: 100%;
    max-width: 450px;
    padding: 15px;
    margin: auto;
}

.form-control{
    width: 250px;
    margin-left: 60px;

}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    /* background-image: url(../imgs/icecream.ico);/*设置小图标*/
    background-size: 25px 25px;/*小图标的大小*/
    background-position: 5px 4px;/*小图标在input的位置*/
    background-repeat: no-repeat;/*背景小图标不重复* /
    padding: 8px 10px 8px 40px;设置input内边距 */
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.btn.btn-lg.btn-primary.btn-block{
    margin-top: 20px;
    width: 250px;
    margin-left: 60px;
}


/* a链接放上去没有下划线 */
a:hover {
    text-decoration: none;
}

/* 记住我 */
.checkbox.mb-3 {
    margin-right: 170px;
}

/* 忘记密码和注册新账号 */
.fg{
    margin-top: 10px;
}

#registeruser{
    margin-top: 20px;
    margin-right: 310px;
}